package com.smart.campus.school.service;

import java.util.List;
import com.smart.campus.school.domain.ExamQuestion;

/**
 * 试题Service接口
 * 
 * @author Zhihe.Li
 * @date 2020-05-20
 */
public interface IExamQuestionService 
{
    /**
     * 查询试题
     * 
     * @param id 试题ID
     * @return 试题
     */
    public ExamQuestion selectExamQuestionById(Long id);

    /**
     * 查询试题列表
     * 
     * @param examQuestion 试题
     * @return 试题集合
     */
    public List<ExamQuestion> selectExamQuestionList(ExamQuestion examQuestion);

    /**
     * 新增试题
     * 
     * @param examQuestion 试题
     * @return 结果
     */
    public int insertExamQuestion(ExamQuestion examQuestion);

    /**
     * 修改试题
     * 
     * @param examQuestion 试题
     * @return 结果
     */
    public int updateExamQuestion(ExamQuestion examQuestion);

    /**
     * 批量删除试题
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteExamQuestionByIds(String ids);

    /**
     * 删除试题信息
     * 
     * @param id 试题ID
     * @return 结果
     */
    public int deleteExamQuestionById(Long id);
}
